package com.huang825172.sbog.Tabs.Mine.LoginPage.Action;

import com.huang825172.sbog.BaseFlux.Dispatcher;

public class ActionCreator {
    //发送登录事件到Dispatcher
    public void createLoginAction(String username, String password) {
        LoginAction act = new LoginAction(username, password);
        Dispatcher.getSingleton().dispatch(act);
    }

    public void createRememberAction(String username, String password) {
        RememberAction act = new RememberAction(username, password);
        Dispatcher.getSingleton().dispatch(act);
    }
}
